package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("`seckill_goods`")  // 关键修改：添加表名注解并用反引号包围
public class SeckillGoods {

    private Integer id;
    private Integer seckillId;
     private Integer goods_id;
    private BigDecimal secPrice;
    private Integer secCount;
    private Integer secSold;
     private Integer sort;
    @TableLogic//软删除
    private Integer isdel;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;









}
